package com.cssl.domain;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.Date;
@ApiModel("评论实体类")
public class DtsComment implements Serializable {
    Integer id;
    Integer valueId;
    Integer type;
    String content;
    Integer userId;
    Integer hasPicture;
    String picUrls;
    Integer star;
    Date addTime;
    Date updateTime;
    Integer deleted;

    @Override
    public String toString() {
        return "DtsComment{" +
                "id=" + id +
                ", valueId=" + valueId +
                ", type=" + type +
                ", content='" + content + '\'' +
                ", userId=" + userId +
                ", hasPicture=" + hasPicture +
                ", picUrls='" + picUrls + '\'' +
                ", star=" + star +
                ", addTime=" + addTime +
                ", updateTime=" + updateTime +
                ", deleted=" + deleted +
                '}';
    }

    public DtsComment() {
    }

    public DtsComment(Integer id, Integer valueId, Integer type, String content, Integer userId, Integer hasPicture, String picUrls, Integer star, Date addTime, Date updateTime, Integer deleted) {
        this.id = id;
        this.valueId = valueId;
        this.type = type;
        this.content = content;
        this.userId = userId;
        this.hasPicture = hasPicture;
        this.picUrls = picUrls;
        this.star = star;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getValueId() {
        return valueId;
    }

    public void setValueId(Integer valueId) {
        this.valueId = valueId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getHasPicture() {
        return hasPicture;
    }

    public void setHasPicture(Integer hasPicture) {
        this.hasPicture = hasPicture;
    }

    public String getPicUrls() {
        return picUrls;
    }

    public void setPicUrls(String picUrls) {
        this.picUrls = picUrls;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
}
